#include "Archive/ILoader.hpp"

#include "Archive/DirectLoader.hpp"
#include "Archive/ArchiveAndDirectLoader.hpp"
#include "Archive/ArchiveLoader.hpp"

namespace Archive{
ILoader::ptr ILoader::createDirectLoader()
{
	return ILoader::ptr(new DirectLoader());
}
ILoader::ptr ILoader::createArchiveDirectLoader(const char* filename)
{
	return ILoader::ptr(new ArchiveAndDirectLoader(filename));
}
ILoader::ptr ILoader::createArchiveOnlyLoader(const char* filename)
{
	return ILoader::ptr(new ArchiveLoader(filename));
}
}//Archive
